package com.day03;

/**
 * @Author liuyuan
 * @Date 2022/11/8 11:39 AM
 * @Version 1.0
 */
public class Test {

    public static void main(String[] args) {
        //向上转型 多态 接口只专注调用方法
        BaseMapper booksMapper = new Books();
        booksMapper.query();
        //向上转型 多态 接口只专注调用方法
        BaseMapper goodMapper = new Goods();
        goodMapper.query();


    }
}
